package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.api.domain.Brand;
import com.spzx.product.domain.CategoryBrand;

import java.util.List;

/**
 * @Author GQS @Date 2024/9/20/15:14 @Description
 */
public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {
    List<CategoryBrand> selectCategoryBrandList(CategoryBrand categoryBrand);

    int deleteBatchByIds(List<Long> list);

    Long selectCategoryIdByBrandId(Long brandId);

    List<Brand> selectBrandListByCategoryId(Long categoryId);
}
